package com.woniu.new_orange.finance_model_guo.service.impl;

import com.woniu.new_orange.entity.PushLevel;
import com.woniu.new_orange.finance_model_guo.Dto.PushLevelDto;
import com.woniu.new_orange.finance_model_guo.Vo.PushLevelVo;
import com.woniu.new_orange.finance_model_guo.service.PushLevelService;
import com.woniu.new_orange.mapper.PushLevelMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Program: new_orange->PushLevelServiceImpl
 * @Description:
 * @Author: 谭少琛的爸爸
 * @Date: 2023-02-02 15:06
 * @Version： 1.0
 **/
@Service
public class PushLevelServiceImpl implements PushLevelService {
    @Resource
    private PushLevelMapper pushLevelMapper;
    @Override
    public int deleteByPrimaryKey(Long id) {
        return pushLevelMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PushLevel record) {
        return 0;
    }

    @Override
    public int insertSelective(PushLevel record) {
        return pushLevelMapper.insertSelective(record);
    }

    @Override
    public PushLevel selectByPrimaryKey(Long id) {
        return pushLevelMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(PushLevel record) {
        return pushLevelMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PushLevel record) {
        return 0;
    }

    @Override
    public List<PushLevel> selectAll(PushLevelDto pushLevelDto) {
        return pushLevelMapper.selectAll(pushLevelDto);
    }

    @Override
    public List<PushLevel> selectExportData(PushLevelDto pushLevelDto) {
        return pushLevelMapper.selectExportData(pushLevelDto);
    }
}
